<div style="background-color: pink;padding: 20px;">
  <p>左侧子视图</p>
  <div>
    <nz-rate [ngModel]="3"  [nzTooltips]="tooltips"></nz-rate>
  </div>

  <div>
    开关：<nz-switch [(ngModel)]="switchValue" (ngModelChange)="show($event)"></nz-switch>
  </div>

  <div class="panel-img">
    <img src="../../../asset/1.jpg" alt="" *ngIf="!switchValue" class="img">
    <img src="../../../asset/2.jpg" alt="" *ngIf="switchValue">
  </div>


</div>
